﻿package _prac;

import java.util.Scanner;

public class prac_02 {

	public static void main(String[] args) {
		int random = (int)(Math.random()*10);
		System.out.println("我行我素购物管理系统>幸运抽奖\n");
		System.out.print("请输入四位会员号：");
		Scanner sc = new Scanner(System.in);
		int cusNo = sc.nextInt();

		int baiWei = cusNo/100%10;
		if(baiWei==random){
			System.out.println(cusNo+"是幸运用户，获得精美MP3一个！");
		}else{
			System.out.println(cusNo+"谢谢你的支持！");
		}

	}

}